package com.cll.prototype.captcha;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 描述信息:
 * 验证码模块启动类
 * @author CLL
 * @version 1.0
 * @date 2020/11/8 17:12
 */
@SpringBootApplication
@MapperScan(basePackages = "com.cll.prototype.api.captcha.mapper")
@EnableDiscoveryClient
@EnableFeignClients
public class CaptchaApplication8071 {

    private static final Logger logger = LoggerFactory.getLogger(CaptchaApplication8071.class);

    public static void main(String[] args) {
        logger.info("===>>> captcha module 8070 is starting....");
        SpringApplication.run(CaptchaApplication8071.class, args);
        logger.info("===>>> captcha module 8070 is started success!");
    }
}
